package com.exp.day7;

public class Tester {
	
	public static void main(String[] args) {
		Employee[] emp = new Employee[5];
		for(int j =0;j<5;j++) {
		emp[j] = new Employee();
		}
		emp[0].id = 100;
		emp[0].name = "Mangala";
		emp[1].id = 20;
		emp[1].name = "ABC";
		emp[2].id = 60;
		emp[2].name = "Imhere";
		emp[3].id = 39;
		emp[3].name = "Pagal";
		emp[4].id = 90;
		emp[4].name = "Lara Craft";
		Employee emps1= new Employee();
		Employee emps2 = new Employee(10,"Jayanthi");
		emps1.DosomeThing();
		// Displaying array of objects...

		System.out.println("Employee Details : ");
		for(int i = 0;i<emp.length;i++) {
		System.out.println(" " + emp[i].id + " " + emp[i].name);
		}
		emps2.DosomeThing();

		}

}
